package com.shamar.blog.dao;

import com.shamar.blog.entity.BlogAdmin;
import org.apache.ibatis.annotations.Param;

public interface BlogAdminDao {
    int deleteByPrimaryKey(Integer id);

    int insert(BlogAdmin record);

    int insertSelective(BlogAdmin record);

    BlogAdmin selectByPrimaryKey(Integer id);

    BlogAdmin selectByBlogAdminCondition(@Param("blogAdminCondition") BlogAdmin blogAdminCondition,@Param("rowIndex") int rowIndex, @Param("pageSize") int pageSize);

    int updateByPrimaryKeySelective(BlogAdmin record);

    int updateByPrimaryKey(BlogAdmin record);
}